package org.itboys.admin.entity;

import org.itboys.mongodb.entity.BaseLongIdEntity;
import org.mongodb.morphia.annotations.Entity;
import org.mongodb.morphia.annotations.Indexed;

/**
 * Created by Administrator on 2016/8/6.
 */
@Entity(value = "UserCharger", noClassnameStored = true)
public class UserChargerDB extends BaseLongIdEntity {

    @Indexed
    private long userId;

    private int score;

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }
}
